package xyz.xiaomeiqiu.netty.filter;

import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.FullHttpRequest;

public class HeaderHttpRequestFilter implements HttpRequestFilter {

    @Override
    public void filter(FullHttpRequest httpRequest, ChannelHandlerContext ctx) {
        httpRequest.headers().set("oauth2", "ok");
    }
}
